# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pokebase
pkgver=1.2.0
pkgrel=1
pkgdesc="A Python wrapper for the friendly PokeAPI database"
url="https://github.com/GregHilmes/pokebase"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-requests py3-certifi py3-chardet py3-idna py3-urllib3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/p/pokebase/pokebase-$pkgver.tar.gz"
options="!check" # No tests in pypi package
builddir="$srcdir/pokebase-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b6f3e89cb5b95cf6703755526e69ce27e294ef1b7095267e2fd419d0fecd0e7168239319f83d301b2e30f811346275d0cdb7c0a40cf368c90ff31fa503f95ab8  pokebase-1.2.0.tar.gz"
